package testIo;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class Test02 {
    public static void main(String[] args) throws IOException {
        File file = new File("aaa.txt");
        FileInputStream fis = new FileInputStream(file);
        System.out.println(fis.read());
        System.out.println(fis.read());
        fis.close();
        System.out.println("读出完毕");
    }
}
